//package ai.people.netmon.telegram.exception;
//
//
//import ai.people.netmon.framework.exception.ExceptionCatch;
//import ai.people.netmon.framework.model.response.CommonCode;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.security.access.AccessDeniedException;
//import org.springframework.web.bind.annotation.ControllerAdvice;
//
///**
// * tg自定义的异常类
// */
//@Slf4j
//@ControllerAdvice // 控制器增强
//public class TelegramExceptionCatch extends ExceptionCatch {
//    static {
//        builder.put(AccessDeniedException.class, CommonCode.UNAUTHORISE);
//    }
//}
